package com.ruoyi.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 待审核对象 cf_group_purchase
 * 
 * @author tzg
 * @date 2024-08-13
 */
public class Audit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id(主键) */
    private String gpId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisher;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 预览图 */
    private String img;

    /** 发布内容 */
    @Excel(name = "发布内容")
    private String content;

    /** 原价 */
    private Long originalPrice;

    /** 折扣价 */
    private Long presentPrice;

    /** 截至日期 */
    private Date endTime;

    /** 咨询电话 */
    private String telephone;

    /** 注意事项 */
    private String note;

    /** 上/下架状态 */
    private Long status;

    /** deleted */
    @Excel(name = "deleted")
    private Long deleted;

    /** $column.columnComment */
    private String moreOne;

    /** $column.columnComment */
    private String moreTwo;

    public void setGpId(String gpId) 
    {
        this.gpId = gpId;
    }

    public String getGpId() 
    {
        return gpId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPublisher(String publisher) 
    {
        this.publisher = publisher;
    }

    public String getPublisher() 
    {
        return publisher;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOriginalPrice(Long originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public Long getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setPresentPrice(Long presentPrice) 
    {
        this.presentPrice = presentPrice;
    }

    public Long getPresentPrice() 
    {
        return presentPrice;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setMoreOne(String moreOne) 
    {
        this.moreOne = moreOne;
    }

    public String getMoreOne() 
    {
        return moreOne;
    }
    public void setMoreTwo(String moreTwo) 
    {
        this.moreTwo = moreTwo;
    }

    public String getMoreTwo() 
    {
        return moreTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gpId", getGpId())
            .append("title", getTitle())
            .append("publisher", getPublisher())
            .append("time", getTime())
            .append("img", getImg())
            .append("content", getContent())
            .append("originalPrice", getOriginalPrice())
            .append("presentPrice", getPresentPrice())
            .append("endTime", getEndTime())
            .append("telephone", getTelephone())
            .append("note", getNote())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("moreOne", getMoreOne())
            .append("moreTwo", getMoreTwo())
            .toString();
    }
}
